package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.common.core.domain.AjaxResult;
import com.zzyl.nursing.domain.FamilyMemberElder;
import com.zzyl.nursing.dto.FamilyDto;
import com.zzyl.nursing.dto.ProductDto;
import com.zzyl.nursing.dto.QueryDeviceDataListByDayDto;
import com.zzyl.nursing.vo.MemberFamilyListByPageVo;
import com.zzyl.nursing.vo.MemberFamilyVo;

import java.util.List;

public interface MemberUserService {

    /**
     * 新增家人
     * @return
     */
    public void addMember(FamilyDto familyDto);

    /**
     * 获取家人列表
     * @return
     */
    List<MemberFamilyVo> my();

    /**
     * 分页获取已绑定家人列表
     * @return
     */
    List<MemberFamilyListByPageVo> listByPage(Integer pageNum, Integer pageSize);


    /**
     * 按天统计查询指标数据
     * @return
     */
    AjaxResult queryDeviceDataListByDay(QueryDeviceDataListByDayDto request);

    /**
     * 按周统计查询指标数据
     * @return
     */
    AjaxResult queryDeviceDataListByWeek(QueryDeviceDataListByDayDto request);
}
